using System;
using System.Collections.Generic;

namespace OA.Model
{
    //用户组
    public class ManagerGroup:Base
    {

        /// <summary>
        /// ID
        /// </summary>
        public virtual string ID { get; set; }

        /// <summary>
        /// 用户组名
        /// </summary>
        public virtual string GroupName { get; set; }

        /// <summary>
        /// 上一级ID
        /// </summary>
        public virtual string ParentID { get; set; }        

        /// <summary>
        /// 上一级
        /// </summary>
        public virtual ManagerGroup Parent { get; set; }

        /// <summary>
        /// 子用户组
        /// </summary>
        public virtual IList<ManagerGroup> Childs { get; set; }

        /// <summary>
        /// 所属用户
        /// </summary>
        public virtual  IList<Manager> Managers { get; set; }

    }
}